package g11.mis;

public enum VisitationContentAttributeEnum {
	DIAGNOSIS(0), TREATMENT(1), COMMENT(2);

	private final int index;

	VisitationContentAttributeEnum(int index) {
		this.index = index;
	}

	public String getAttributeName(int index) {
		String returnString = null;
		switch (index) {
		case 0:
			returnString = "diagnosis";
			break;
		case 1:
			returnString = "treatment";
			break;
		case 2:
			returnString = "comment";
			break;
		}
		return returnString;
	}
}
